                
                <div class="comment_action" >
                        <span>
                            <a class="comment_button" href="javascript:void(0)">已经有{{ comment_count }}条评论,收起评论</a>
                            <a class="comment_button" href="javascript:void(0)"  style="display: none;" >已经有{{ comment_count }}条评论,展开评论</a>
                        </span>
                        <span>
                          
                        </span>
                       
                </div>
            {% autoescape on %} 

                <div class="comment" >
                        <a name='comment' ></a>
                        <ul>
                            {% for key,value in comments %}

                              <li>
                                <a class="head" >
                                    <img src="{{ avatar_url }}yj1.jpg"/>
                                </a>
                                {% if value.to_user %}
                                    <label>RT <a href="javascript:void(0)">{{ value.to_user.nickname }}:</a></label>
                                {% endif %}

                                <table  style="table-layout:fixed" width="600" >
                                      <tbody>
                                        <td style="word-wrap : break-word; overflow:hidden; " >
                                       <prev>
                                              {{ value.comment.content }}
                                        </prev>
                                      </td>
                                      </tbody>
                                </table>

                               
                                <div>
                                    <span class="comment_time" > {{ value.comment.create_time|date:'Y-m-d H:i'}}</span>
                                    <span class="comment_user" >
                                        <a href="#" class="replied" >{{ value.user.nickname }}</a>
                                        <a  href="javascript:void(0)" class="reply" ></a>
                                        <input type="hidden"  value="{{ value.user.id }}" />
                                    </span>
                                </div>
                              </li>

                            {% endfor %}
                            <form action="" name="commentform" method="post"  >
                                <a name="c4" ></a>
                                <li id='commentform' style='border:none;padding:0px' >
                                    <textarea name='comment' ></textarea>
                                </li>
                                <input type="hidden" name="to_user_id" value='' />
                                <input type="hidden" name="article_id" value="{{ article.id }}" >
                            </form>
                            <input type="button" name="addcomment" class="action" value="点击回复" />
               
                        </ul>
                        <div class="page" >

                        {% if page.prev_page_number and not less_than_certain_size %}
                            <a href="/blog/{{ article.id }}?page={{ page.prev_page_number }}#comment" class="prev"> <<-上一页</a>
                        {% endif %}

                           {% for key,value in pages %}

                              {% ifequal page.page_number key %}

                                  <a href="/blog/{{ article.id }}?page={{ key }}#comment" class="current_page" >  {{ value.page_number }}  </a>

                              {% else %}

                                  <a href="/blog/{{ article.id }}?page={{ key }}#comment" >  {{ value.page_number }}  </a>

                              {% endifequal %}

                           {% endfor %}
                          
                        {% if page.has_next  and not less_than_certain_size %}
                               <a href="/blog/{{ article.id }}?page={{ page.next_page_number }}" class="next" >下一页->></a>
                        {% endif %}

                        </div>

                    </div>

                {% endautoescape %} 